package com.itheima.mobilesafe70.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.itheima.mobilesafe70.R;
import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ViewInject;
import com.lidroid.xutils.view.annotation.event.OnClick;

public class ToolCollectionActivity extends Activity{

	@ViewInject(R.id.address_query)
	TextView address_query;
	@ViewInject(R.id.sms_backup)
	TextView sms_backup;
	@ViewInject(R.id.apps_lock)
	TextView apps_lock;
	@OnClick(R.id.address_query)
	public void getQueryPage(View view)
	{
		startActivity(new Intent(this, AddressQueryActivity.class));
	}
	@OnClick(R.id.sms_backup)
	public void sms_backup(View view)
	{
		startActivity(new Intent(this, SmsBackupRestoreActivity.class));
	}
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_tool_collection);
		ViewUtils.inject(this);
	}
}
